package com.wytec.xywzxw.service;

import com.wytec.xywzxw.bean.commonBean.PageSizeBean;
import com.wytec.xywzxw.bean.User;
import com.wytec.xywzxw.configuration.MyException;

import java.util.List;

public interface UserService {
    List<User> getUserList(PageSizeBean page, String keyword);
    User userLogin(String username,String password) throws MyException;
    User userSignIn(User user) throws MyException;
    User getUserInfo(String token);
    Boolean logOut(String token);
}
